/*
 * EnigmaGM - A feature rich guild management system.
 * Copyright (C) 2007 ajiaojr.
 * 
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 * 02110-1301, USA.
 */
package org.ajiaojr.enigmagm.client.data;

import java.io.Serializable;
import java.util.Date;

public class Raid implements Serializable {
  /**
   * 
   */
  private static final long serialVersionUID = 80284282712305040L;

  private String comments;

  private int pointSystemID;

  private int raidID;

  private String raidInstanceName;

  private long raidTime;

  public Raid() {
  }

  public Raid(int raidID, String raidInstanceName, long raidTime,
      String comments, int pointSystemID) {
    this.raidID = raidID;
    this.raidInstanceName = raidInstanceName;
    this.raidTime = raidTime;
    this.comments = comments;
    this.pointSystemID = pointSystemID;
  }

  public String getComments() {
    return comments;
  }

  public int getPointSystemID() {
    return pointSystemID;
  }

  public int getRaidID() {
    return raidID;
  }

  public String getRaidInstanceName() {
    return raidInstanceName;
  }

  public long getRaidTime() {
    return raidTime;
  }

  public Date getRaidTimeAsDate() {
    return new Date(raidTime);
  }

  public void setComments(String comments) {
    this.comments = comments;
  }

  public void setPointSystemID(int pointSystemId) {
    this.pointSystemID = pointSystemId;
  }

  public void setRaidID(int raidId) {
    this.raidID = raidId;
  }

  public void setRaidInstanceName(String raidInstanceName) {
    this.raidInstanceName = raidInstanceName;
  }

  public void setRaidTime(long raidTime) {
    this.raidTime = raidTime;
  }
}
